package com.example.day11;

import java.util.List;

public class jiexi {

    /**
     * comment_updated_at : 1528507907
     * commentable : true
     * comments_count : 894
     * desc : 文／叶听雨 2015年，一一来到我的生命当中。婆婆在照顾完月子的第二天便回了老家，而我也从此正式开始了全职妈妈的旅程。 犹记得在月子的时候，每次看到一一吐奶或者拉臭臭，我总是着急地大喊婆婆过来。婆婆...
     * first_shared_at : 1526011173
     * free_in_paid_book : false
     * has_audio : false
     * has_video : false
     * id : 27876999
     * is_liked : false
     * last_compiled_at : 1526011172
     * likes_count : 1545
     * list_image : http://upload-images.jianshu.io/upload_images/3253882-9af55724e1571da3.jpg
     * notebook : {"id":6738616,"user":{"avatar":"http://upload.jianshu.io/users/upload_avatars/3253882/0057c59b-5547-4ab0-8f80-e674d5cc2620.jpg","badges":[{"icon":9,"id":7,"image_url":"http://upload.jianshu.io/user_badge/48d31e61-a03c-4506-81a2-d224ac0a2d8b","intro_url":"http://www.jianshu.com/p/ed7ca899d796","text":"简书版权"}],"id":3253882,"member":{"expires_at":1549036800,"type":"ordinary"},"nickname":"叶听雨","sns_nicknames":{}}}
     * paid : false
     * slug : 11046c89367d
     * title : 从全职妈妈到简书签约作者，说说我的写作故事
     * total_rewards_count : 31
     * views_count : 91801
     * book : {"paid":false}
     */

    private int comment_updated_at;
    private boolean commentable;
    private int comments_count;
    private String desc;
    private int first_shared_at;
    private boolean free_in_paid_book;
    private boolean has_audio;
    private boolean has_video;
    private int id;
    private boolean is_liked;
    private int last_compiled_at;
    private int likes_count;
    private String list_image;
    private NotebookBean notebook;
    private boolean paid;
    private String slug;
    private String title;
    private int total_rewards_count;
    private int views_count;
    private BookBean book;

    public int getComment_updated_at() {
        return comment_updated_at;
    }

    public void setComment_updated_at(int comment_updated_at) {
        this.comment_updated_at = comment_updated_at;
    }

    public boolean isCommentable() {
        return commentable;
    }

    public void setCommentable(boolean commentable) {
        this.commentable = commentable;
    }

    public int getComments_count() {
        return comments_count;
    }

    public void setComments_count(int comments_count) {
        this.comments_count = comments_count;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public int getFirst_shared_at() {
        return first_shared_at;
    }

    public void setFirst_shared_at(int first_shared_at) {
        this.first_shared_at = first_shared_at;
    }

    public boolean isFree_in_paid_book() {
        return free_in_paid_book;
    }

    public void setFree_in_paid_book(boolean free_in_paid_book) {
        this.free_in_paid_book = free_in_paid_book;
    }

    public boolean isHas_audio() {
        return has_audio;
    }

    public void setHas_audio(boolean has_audio) {
        this.has_audio = has_audio;
    }

    public boolean isHas_video() {
        return has_video;
    }

    public void setHas_video(boolean has_video) {
        this.has_video = has_video;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public boolean isIs_liked() {
        return is_liked;
    }

    public void setIs_liked(boolean is_liked) {
        this.is_liked = is_liked;
    }

    public int getLast_compiled_at() {
        return last_compiled_at;
    }

    public void setLast_compiled_at(int last_compiled_at) {
        this.last_compiled_at = last_compiled_at;
    }

    public int getLikes_count() {
        return likes_count;
    }

    public void setLikes_count(int likes_count) {
        this.likes_count = likes_count;
    }

    public String getList_image() {
        return list_image;
    }

    public void setList_image(String list_image) {
        this.list_image = list_image;
    }

    public NotebookBean getNotebook() {
        return notebook;
    }

    public void setNotebook(NotebookBean notebook) {
        this.notebook = notebook;
    }

    public boolean isPaid() {
        return paid;
    }

    public void setPaid(boolean paid) {
        this.paid = paid;
    }

    public String getSlug() {
        return slug;
    }

    public void setSlug(String slug) {
        this.slug = slug;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getTotal_rewards_count() {
        return total_rewards_count;
    }

    public void setTotal_rewards_count(int total_rewards_count) {
        this.total_rewards_count = total_rewards_count;
    }

    public int getViews_count() {
        return views_count;
    }

    public void setViews_count(int views_count) {
        this.views_count = views_count;
    }

    public BookBean getBook() {
        return book;
    }

    public void setBook(BookBean book) {
        this.book = book;
    }

    public static class NotebookBean {
        /**
         * id : 6738616
         * user : {"avatar":"http://upload.jianshu.io/users/upload_avatars/3253882/0057c59b-5547-4ab0-8f80-e674d5cc2620.jpg","badges":[{"icon":9,"id":7,"image_url":"http://upload.jianshu.io/user_badge/48d31e61-a03c-4506-81a2-d224ac0a2d8b","intro_url":"http://www.jianshu.com/p/ed7ca899d796","text":"简书版权"}],"id":3253882,"member":{"expires_at":1549036800,"type":"ordinary"},"nickname":"叶听雨","sns_nicknames":{}}
         */

        private int id;
        private UserBean user;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public UserBean getUser() {
            return user;
        }

        public void setUser(UserBean user) {
            this.user = user;
        }

        public static class UserBean {
            /**
             * avatar : http://upload.jianshu.io/users/upload_avatars/3253882/0057c59b-5547-4ab0-8f80-e674d5cc2620.jpg
             * badges : [{"icon":9,"id":7,"image_url":"http://upload.jianshu.io/user_badge/48d31e61-a03c-4506-81a2-d224ac0a2d8b","intro_url":"http://www.jianshu.com/p/ed7ca899d796","text":"简书版权"}]
             * id : 3253882
             * member : {"expires_at":1549036800,"type":"ordinary"}
             * nickname : 叶听雨
             * sns_nicknames : {}
             */

            private String avatar;
            private int id;
            private MemberBean member;
            private String nickname;
            private SnsNicknamesBean sns_nicknames;
            private List<BadgesBean> badges;

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public MemberBean getMember() {
                return member;
            }

            public void setMember(MemberBean member) {
                this.member = member;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public SnsNicknamesBean getSns_nicknames() {
                return sns_nicknames;
            }

            public void setSns_nicknames(SnsNicknamesBean sns_nicknames) {
                this.sns_nicknames = sns_nicknames;
            }

            public List<BadgesBean> getBadges() {
                return badges;
            }

            public void setBadges(List<BadgesBean> badges) {
                this.badges = badges;
            }

            public static class MemberBean {
            }

            public static class SnsNicknamesBean {
            }

            public static class BadgesBean {
                /**
                 * icon : 9
                 * id : 7
                 * image_url : http://upload.jianshu.io/user_badge/48d31e61-a03c-4506-81a2-d224ac0a2d8b
                 * intro_url : http://www.jianshu.com/p/ed7ca899d796
                 * text : 简书版权
                 */

                private int icon;
                private int id;
                private String image_url;
                private String intro_url;
                private String text;

                public int getIcon() {
                    return icon;
                }

                public void setIcon(int icon) {
                    this.icon = icon;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public String getImage_url() {
                    return image_url;
                }

                public void setImage_url(String image_url) {
                    this.image_url = image_url;
                }

                public String getIntro_url() {
                    return intro_url;
                }

                public void setIntro_url(String intro_url) {
                    this.intro_url = intro_url;
                }

                public String getText() {
                    return text;
                }

                public void setText(String text) {
                    this.text = text;
                }
            }
        }
    }

    public static class BookBean {
        /**
         * paid : false
         */

        private boolean paid;

        public boolean isPaid() {
            return paid;
        }

        public void setPaid(boolean paid) {
            this.paid = paid;
        }
    }
}
